<ul>
<?php foreach($items as $item):
$options = array();
if ($item['active'])
  $options['class'] = 'active';
if (isset($item['target']))
  $options['target'] = $item['target'];
?>
<li><?php echo CHtml::link($item['label'],$item['url'], $options); ?></li>
<?php endforeach; ?>
</ul>
